import Index from '@/components/Index'
import SignIn from '@/components/SignIn'
import Interviewer from '@/components/Interviewer'
import Interview from '@/components/Interview'
import Auth from '@/components/Auth'

/**
 * 统一的路由信息
 */
const routes = [
  {
    path: '/',
    name: 'index',
    component: Index
  },
  {
    path: '/sign_in',
    name: 'sign_in',
    component: SignIn
  },
  {
    path: '/interviewer',
    name: 'interviewer',
    component: Interviewer
  },
  {
    path: '/auth',
    name: 'auth',
    component: Auth
  },
  {
    path: '/interview/:interviewRecordId/:userId',
    name: 'interview',
    component: Interview
  }
];


export default {
  routes: routes
}
